Skip to main content

All EVM Chains

Queries configuration information for all EVM chains integrated with Euclid.

query AllEvmChains {
chains {
all_evm_chains {
chain_id
chain_uid
explorer_url
name
native_currency {
decimals
name
symbol
}
rpc_urls {
default {
http
}
}
}
}
}

Example​

curl --request POST \
    --header 'content-type: application/json' \
    --url 'https://api.euclidprotocol.com/graphql' \
    --data '{"query":"query Chains {\n  chains {\n    all_evm_chains {\n      chain_id\n      chain_uid\n      explorer_url\n      name\n      native_currency {\n        decimals\n        name\n        symbol\n      }\n      rpc_urls {\n        default {\n          http\n        }\n      }\n    }\n  }\n}"}'

Open in Playground

Return Fields​

FieldTypeDescription
chain_idStringThe identifier of the EVM chain.
chain_uidStringThe unique UID for the chain used for integration purposes.
explorer_urlStringThe URL for the blockchain explorer associated with this chain.
nameStringThe common name of the chain.
native_currencyNativeCurrencyDetails about the chain's native currency.
rpc_urlsRpcUrlsThe RPC URL configuration for connecting to the chain.

NativeCurrency​

FieldTypeDescription
decimalsIntThe number of decimal places for the native currency.
nameStringThe name of the native currency.
symbolStringThe symbol of the native currency.

RpcUrls​

FieldTypeDescription
httpString[]The list of default HTTP RPC endpoints for the chain.